Skip to content

Conversation

@barchetta
Copy link
Member

Backport #9671 to Helidon 4.1.7

Description

Resolves #9670

Release note:


Formerly (in 3.x) HTTP responses from the health endpoint set the Cache-Control header to no-cache, no-store, must-revalidate, no-transform because the returned result could well be different for each request. But 4.x does not do so. This change restores those response header values.


This PR Restores the addition of the no-cache group of headers to the health response that was seemingly accidentally dropped in the move to 4.x.

Adds test checking for the header values.

Documentation

Bug fix. No doc impact.

@barchetta barchetta added the backport Issues that are merged into a single branch, but missing in either master or previous release label Feb 7, 2025
@barchetta barchetta added this to the 4.1.7 milestone Feb 7, 2025
@barchetta barchetta requested a review from tjquinno February 7, 2025 22:07
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 7, 2025
@barchetta barchetta mentioned this pull request Feb 7, 2025
15 tasks
@barchetta barchetta self-assigned this Feb 7, 2025
@barchetta barchetta force-pushed the 4.1.7-9671-backport branch from 08a7707 to 50942ca Compare February 8, 2025 00:09
@barchetta barchetta merged commit af893e4 into helidon-io:helidon-4.1.x Feb 10, 2025
44 checks passed
@barchetta barchetta deleted the 4.1.7-9671-backport branch February 10, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Issues that are merged into a single branch, but missing in either master or previous release OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants